package com.sise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zj
 */
@Data
@Accessors(chain = true)
public class UserSearchRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 搜索记录id
     */
    @TableId(value = "search_record_id", type = IdType.AUTO)
    private Integer searchRecordId;

    /**
     * 微信用户唯一标识
     */
    @TableField("open_id")
    private String openId;

    /**
     * 搜索内容
     */
    @TableField("search_content")
    private String searchContent;
}
